home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / !ENVIRON.TXT < prev    next >
Text File  |  1995-05-29  |  3KB  |  88 lines

  1. ============                                        DISview [518]
  2. !ENVIRON.TXT
  3. ============
  4.  
  5.  
  6. =========================
  7. DOS Environment Variables
  8. =========================
  9. The following DOS environment variables can be used to specify
  10. parameters to NET, the PCElm mailer and the SNEWS News reader.
  11.  
  12. These variables are initialised with the DOS 'SET' command.
  13.  
  14.  
  15. -----------------------------------------------------------------
  16. COMSPEC                                      Default: COMMAND.COM
  17. -----------------------------------------------------------------
  18. COMSPEC specifies the command shell to be used when shelling out
  19. of NOS with the 'sh' or '!' command.
  20.  
  21. >> Example:  SET COMSPEC=C:\4DOS\4DOS.COM
  22.  
  23.  
  24. -----------------------------------------------------------------
  25. HOME or PCELM
  26. -----------------------------------------------------------------
  27. HOME or PCELM specify the location of the incoming mail 
  28. directory and the PCElm/SNEWS alias file. Normally HOME is used
  29. for this, but PCELM may be used instead if HOME conflicts with
  30. other applications.
  31.  
  32. >> Examples:  SET HOME=C:\DEMON\SPOOL\MAIL
  33.               SET PCELM=C:\DEMON\SPOOL\MAIL
  34.  
  35.  
  36. -----------------------------------------------------------------
  37. SNEWS
  38. -----------------------------------------------------------------
  39. SNEWS specifies the location of the News control files, including
  40. active, expire.dat and the SNEWS signature files.
  41.  
  42. >> Example:  SET SNEWS=C:\DEMON\SPOOL\NEWS
  43.  
  44.  
  45. -----------------------------------------------------------------
  46. TMP
  47. -----------------------------------------------------------------
  48. TMP specifies the directory to be used for temporary files.
  49.  
  50. >> Example:  SET TMP=C:\TEMP
  51.  
  52.  
  53. -----------------------------------------------------------------
  54. TZ or GTZ
  55. -----------------------------------------------------------------
  56. TZ or GTZ specify the local timezone. Normally TZ is used for 
  57. this, but GTZ may be used instead if TZ conflicts with other
  58. applications.
  59.  
  60. >>  Example:  SET TZ=GMT0BST1,M3.4.0/02:00,M10.4.0/02:00
  61.  
  62.  
  63.  
  64.  
  65. ---------------------------------
  66. Environment Variable Substitution
  67. ---------------------------------
  68. Environment variables can be substituted into KA9Q commands, by
  69. preceding the variable name with a $.
  70.  
  71. For example, if C:\AUTOEXEC.BAT contains this:
  72. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. SET SL=sl0
  74. SET DIAL=dialer
  75. IF %1.==isdn. SET SL=sl1
  76. IF %1.==isdn. SET DIAL=isdn
  77.  
  78. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  79.  
  80.  
  81. then ~/autoexec.net can contain this:
  82. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. route add default $SL
  84. dialer $SL $DIAL
  85.  
  86. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  87.  
  88.